home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 8
/
CD Funhouse Version 8.0 - Wayzata Technology (7013) (1993).iso
/
pc
/
mac
/
__cd_fun
/
__sports
/
hyperfoo.00
/
card_5690.txt
< prev
next >
Wrap
Text File
|
1990-10-03
|
883b
|
43 lines
-- card: 5690 from stack: in.00
-- bmap block id: 6010
-- flags: 0000
-- background id: 2687
-- name: Goal Post
----- HyperTalk script -----
on openCard
global good, post, score1, score2
put the random of 100 into x
put the random of 100 into y
if good is true then
put x+206 into x
put y+50 into y
else
if x>50 then put 511-x into x
put y+170 into y
end if
set loc of button 1 to x,y
wait for 1 second
put 0 into post
put false into good
go to card 5
Drawball
put score1 into card field 6
put score2 into card field 7
end openCard
-- part 1 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=266 top=58 right=101 bottom=294
-- title width / last selected line: 0
-- icon id / first selected line: 13259 / 13259
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button